<template>
	<div></div>
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router';
import { SET_TOKEN } from '@/utils/user';

const route = useRoute();

SET_TOKEN({
	name: route.query.name as string,
	openid: route.query.openid as string,
	token: route.query.token as string,
});

const dom = document.querySelector('html');

if (dom) dom.style.display = 'none';
</script>

<style scoped lang="scss"></style>
